<template>
  <div id="app">
    {{list}}
  </div>
</template>

<script>
export default {
  name: 'App',
  data(){
    return{
      list:[]
    }
  },
  created() {
    this.axios.post("http://localhost:8083/book/query",{}).then(res=>{
      console.log(res.data)
    })
    this.axios.post("http://localhost:8083/book/insert",{author:'zs',price:20}).then(res=>{
      console.log(res.data)
    })
  }
}
</script>

<style lang="less">

</style>
